python check if two lists have common elements